package com.ruoyi.interfaced.mapper;

import java.util.List;
import com.ruoyi.interfaced.domain.ShopProperty;

/**
 * 商品属性，甜度，温度等Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public interface ShopPropertyMapper 
{
    /**
     * 查询商品属性，甜度，温度等
     * 
     * @param id 商品属性，甜度，温度等主键
     * @return 商品属性，甜度，温度等
     */
    public ShopProperty selectShopPropertyById(Integer id);

    /**
     * 查询商品属性，甜度，温度等列表
     * 
     * @param shopProperty 商品属性，甜度，温度等
     * @return 商品属性，甜度，温度等集合
     */
    public List<ShopProperty> selectShopPropertyList(ShopProperty shopProperty);

    /**
     * 新增商品属性，甜度，温度等
     * 
     * @param shopProperty 商品属性，甜度，温度等
     * @return 结果
     */
    public int insertShopProperty(ShopProperty shopProperty);

    /**
     * 修改商品属性，甜度，温度等
     * 
     * @param shopProperty 商品属性，甜度，温度等
     * @return 结果
     */
    public int updateShopProperty(ShopProperty shopProperty);

    /**
     * 删除商品属性，甜度，温度等
     * 
     * @param id 商品属性，甜度，温度等主键
     * @return 结果
     */
    public int deleteShopPropertyById(Integer id);

    /**
     * 批量删除商品属性，甜度，温度等
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopPropertyByIds(Integer[] ids);
}
